#ifndef ORIGINAL_TET10_IMPL
double dp [15][10][3] = {
    {
      { 0, 0, 0 },
      { 0, 0, 0 },
      { 0, 0, 0 },
      { 0, 0, 0 },
      { 0, -1, -1 },
      { 1, 1, 0 },
      { -1, 0, -1 },
      { -1, -1, 0 },
      { 1, 0, 1 },
      { 0, 1, 1 }
    },
    {
      { 0.6321156877891076, 0.6321156877891076, 0.6321156877891076 },
      { 1.896347063367323, 0, 0 },
      { 0, -0.6321156877891079, 0 },
      { 0, 0, -0.6321156877891079 },
      { -2.528462751156431, -2.896347063367323, -2.896347063367323 },
      { 0.3678843122108921, 2.896347063367323, 0 },
      { -0.3678843122108921, 0, -0.3678843122108921 },
      { -0.3678843122108921, -0.3678843122108921, 0 },
      { 0.3678843122108921, 0, 2.896347063367323 },
      { 0, 0.3678843122108921, 0.3678843122108921 }
    },
    {
      { 0.6321156877891074, 0.6321156877891074, 0.6321156877891074 },
      { -0.6321156877891079, 0, 0 },
      { 0, 1.896347063367323, 0 },
      { 0, 0, -0.6321156877891079 },
      { 0, -0.3678843122108921, -0.3678843122108921 },
      { 2.896347063367323, 0.3678843122108921, 0 },
      { -2.896347063367323, -2.528462751156431, -2.896347063367323 },
      { -0.3678843122108921, -0.3678843122108921, 0 },
      { 0.3678843122108921, 0, 0.3678843122108921 },
      { 0, 0.3678843122108921, 2.896347063367323 }
    },
    {
      { 0.6321156877891072, 0.6321156877891072, 0.6321156877891072 },
      { -0.6321156877891079, 0, 0 },
      { 0, -0.6321156877891079, 0 },
      { 0, 0, 1.896347063367323 },
      { 0, -0.3678843122108921, -0.3678843122108921 },
      { 0.3678843122108921, 0.3678843122108921, 0 },
      { -0.3678843122108921, 0, -0.3678843122108921 },
      { -2.896347063367323, -2.896347063367323, -2.528462751156431 },
      { 2.896347063367323, 0, 0.3678843122108921 },
      { 0, 2.896347063367323, 0.3678843122108921 }
    },
    {
      { -1.896347063367324, -1.896347063367324, -1.896347063367324 },
      { -0.6321156877891079, 0, 0 },
      { 0, -0.6321156877891079, 0 },
      { 0, 0, -0.6321156877891079 },
      { 2.528462751156432, -0.3678843122108921, -0.3678843122108921 },
      { 0.3678843122108921, 0.3678843122108921, 0 },
      { -0.3678843122108921, 2.528462751156432, -0.3678843122108921 },
      { -0.3678843122108921, -0.3678843122108921, 2.528462751156432 },
      { 0.3678843122108921, 0, 0.3678843122108921 },
      { 0, 0.3678843122108921, 0.3678843122108921 }
    },
    {
      { -0.27917451131852, -0.27917451131852, -0.27917451131852 },
      { -0.8375235339555589, 0, 0 },
      { 0, 0.2791745113185196, 0 },
      { 0, 0, 0.2791745113185196 },
      { 1.116698045274079, -0.1624764660444411, -0.1624764660444411 },
      { 1.27917451131852, 0.1624764660444411, 0 },
      { -1.27917451131852, 0, -1.27917451131852 },
      { -1.27917451131852, -1.27917451131852, 0 },
      { 1.27917451131852, 0, 0.1624764660444411 },
      { 0, 1.27917451131852, 1.27917451131852 }
    },
    {
      { -0.27917451131852, -0.27917451131852, -0.27917451131852 },
      { 0.2791745113185196, 0, 0 },
      { 0, -0.8375235339555589, 0 },
      { 0, 0, 0.2791745113185196 },
      { 0, -1.27917451131852, -1.27917451131852 },
      { 0.1624764660444411, 1.27917451131852, 0 },
      { -0.1624764660444411, 1.116698045274079, -0.1624764660444411 },
      { -1.27917451131852, -1.27917451131852, 0 },
      { 1.27917451131852, 0, 1.27917451131852 },
      { 0, 1.27917451131852, 0.1624764660444411 }
    },
    {
      { -0.27917451131852, -0.27917451131852, -0.27917451131852 },
      { 0.2791745113185196, 0, 0 },
      { 0, 0.2791745113185196, 0 },
      { 0, 0, -0.8375235339555589 },
      { 0, -1.27917451131852, -1.27917451131852 },
      { 1.27917451131852, 1.27917451131852, 0 },
      { -1.27917451131852, 0, -1.27917451131852 },
      { -0.1624764660444411, -0.1624764660444411, 1.116698045274079 },
      { 0.1624764660444411, 0, 1.27917451131852 },
      { 0, 0.1624764660444411, 1.27917451131852 }
    },
    {
      { 0.8375235339555585, 0.8375235339555585, 0.8375235339555585 },
      { 0.2791745113185196, 0, 0 },
      { 0, 0.2791745113185196, 0 },
      { 0, 0, 0.2791745113185196 },
      { -1.116698045274078, -1.27917451131852, -1.27917451131852 },
      { 1.27917451131852, 1.27917451131852, 0 },
      { -1.27917451131852, -1.116698045274078, -1.27917451131852 },
      { -1.27917451131852, -1.27917451131852, -1.116698045274078 },
      { 1.27917451131852, 0, 1.27917451131852 },
      { 0, 1.27917451131852, 1.27917451131852 }
    },
    {
      { 0.7745966692414834, 0.7745966692414834, 0.7745966692414834 },
      { 0.7745966692414834, 0, 0 },
      { 0, 0.7745966692414834, 0 },
      { 0, 0, -0.7745966692414834 },
      { -1.549193338482967, -1.774596669241483, -1.774596669241483 },
      { 1.774596669241483, 1.774596669241483, 0 },
      { -1.774596669241483, -1.549193338482967, -1.774596669241483 },
      { -0.2254033307585166, -0.2254033307585166, 0 },
      { 0.2254033307585166, 0, 1.774596669241483 },
      { 0, 0.2254033307585166, 1.774596669241483 }
    },
    {
      { 0.7745966692414834, 0.7745966692414834, 0.7745966692414834 },
      { 0.7745966692414834, 0, 0 },
      { 0, -0.7745966692414834, 0 },
      { 0, 0, 0.7745966692414834 },
      { -1.549193338482967, -1.774596669241483, -1.774596669241483 },
      { 0.2254033307585166, 1.774596669241483, 0 },
      { -0.2254033307585166, 0, -0.2254033307585166 },
      { -1.774596669241483, -1.774596669241483, -1.549193338482967 },
      { 1.774596669241483, 0, 1.774596669241483 },
      { 0, 1.774596669241483, 0.2254033307585166 }
    },
    {
      { -0.7745966692414834, -0.7745966692414834, -0.7745966692414834 },
      { 0.7745966692414834, 0, 0 },
      { 0, -0.7745966692414834, 0 },
      { 0, 0, -0.7745966692414834 },
      { 0, -1.774596669241483, -1.774596669241483 },
      { 0.2254033307585166, 1.774596669241483, 0 },
      { -0.2254033307585166, 1.549193338482967, -0.2254033307585166 },
      { -0.2254033307585166, -0.2254033307585166, 1.549193338482967 },
      { 0.2254033307585166, 0, 1.774596669241483 },
      { 0, 0.2254033307585166, 0.2254033307585166 }
    },
    {
      { 0.7745966692414834, 0.7745966692414834, 0.7745966692414834 },
      { -0.7745966692414834, 0, 0 },
      { 0, 0.7745966692414834, 0 },
      { 0, 0, 0.7745966692414834 },
      { 0, -0.2254033307585166, -0.2254033307585166 },
      { 1.774596669241483, 0.2254033307585166, 0 },
      { -1.774596669241483, -1.549193338482967, -1.774596669241483 },
      { -1.774596669241483, -1.774596669241483, -1.549193338482967 },
      { 1.774596669241483, 0, 0.2254033307585166 },
      { 0, 1.774596669241483, 1.774596669241483 }
    },
    {
      { -0.7745966692414834, -0.7745966692414834, -0.7745966692414834 },
      { -0.7745966692414834, 0, 0 },
      { 0, 0.7745966692414834, 0 },
      { 0, 0, -0.7745966692414834 },
      { 1.549193338482967, -0.2254033307585166, -0.2254033307585166 },
      { 1.774596669241483, 0.2254033307585166, 0 },
      { -1.774596669241483, 0, -1.774596669241483 },
      { -0.2254033307585166, -0.2254033307585166, 1.549193338482967 },
      { 0.2254033307585166, 0, 0.2254033307585166 },
      { 0, 0.2254033307585166, 1.774596669241483 }
    },
    {
      { -0.7745966692414834, -0.7745966692414834, -0.7745966692414834 },
      { -0.7745966692414834, 0, 0 },
      { 0, -0.7745966692414834, 0 },
      { 0, 0, 0.7745966692414834 },
      { 1.549193338482967, -0.2254033307585166, -0.2254033307585166 },
      { 0.2254033307585166, 0.2254033307585166, 0 },
      { -0.2254033307585166, 1.549193338482967, -0.2254033307585166 },
      { -1.774596669241483, -1.774596669241483, 0 },
      { 1.774596669241483, 0, 0.2254033307585166 },
      { 0, 1.774596669241483, 0.2254033307585166 }
    }
  };
#else
double dp [15][10][3] = { 
     {
       {
  0,  0,  0
        },
       {
  0,  0,  0
        },
       {
  0,  0,  0
        },
       {
  0,  0,  0
        },
       {
  0,  -1,  -1
        },
       {
  1,  1,  0
        },
       {
  -1,  0,  -1
        },
       {
  -1,  -1,  0
        },
       {
  1,  0,  1
        },
       {
  0,  1,  1
        }

    },
    {
       {
  -1.8963470633673201,  -1.8963470633673201,  -1.8963470633673201
        },
       {
  -0.63211568778910798,  0,  0
        },
       {
  0,  -0.63211568778910798,  0
        },
       {
  0,  0,  -0.63211568778910798
        },
       {
  2.5284627511564302,  -0.36788431221089202,  -0.36788431221089202
        },
       {
  0.36788431221089207,  0.36788431221089207,  0
        },
       {
  -0.36788431221089202,  2.5284627511564302,  -0.36788431221089202
        },
       {
  -0.36788431221089202,  -0.36788431221089202,  2.5284627511564302
        },
       {
  0.36788431221089207,  0,  0.36788431221089207
        },
       {
  0,  0.36788431221089207,  0.36788431221089207
        }

    },
    {
       {
  0.63211568778910765,  0.63211568778910765,  0.63211568778910765
        },
       {
  1.8963470633673201,  0,  0
        },
       {
  0,  -0.63211568778910798,  0
        },
       {
  0,  0,  -0.63211568778910798
        },
       {
  -2.5284627511564302,  -2.8963470633673198,  -2.8963470633673198
        },
       {
  0.36788431221089207,  2.8963470633673198,  0
        },
       {
  -0.36788431221089202,  0,  -0.36788431221089202
        },
       {
  -0.36788431221089202,  -0.36788431221089202,  0
        },
       {
  0.36788431221089207,  0,  2.8963470633673198
        },
       {
  0,  0.36788431221089207,  0.36788431221089207
        }

    },
    {
       {
  0.63211568778910787,  0.63211568778910787,  0.63211568778910787
        },
       {
  -0.63211568778910798,  0,  0
        },
       {
  0,  1.8963470633673201,  0
        },
       {
  0,  0,  -0.63211568778910798
        },
       {
  0,  -0.36788431221089202,  -0.36788431221089202
        },
       {
  2.8963470633673198,  0.36788431221089207,  0
        },
       {
  -2.8963470633673198,  -2.5284627511564302,  -2.8963470633673198
        },
       {
  -0.36788431221089202,  -0.36788431221089202,  0
        },
       {
  0.36788431221089207,  0,  0.36788431221089207
        },
       {
  0,  0.36788431221089207,  2.8963470633673198
        }

    },
    {
       {
  0.63211568778910809,  0.63211568778910809,  0.63211568778910809
        },
       {
  -0.63211568778910798,  0,  0
        },
       {
  0,  -0.63211568778910798,  0
        },
       {
  0,  0,  1.8963470633673201
        },
       {
  0,  -0.36788431221089202,  -0.36788431221089202
        },
       {
  0.36788431221089207,  0.36788431221089207,  0
        },
       {
  -0.36788431221089202,  0,  -0.36788431221089202
        },
       {
  -2.8963470633673198,  -2.8963470633673198,  -2.5284627511564302
        },
       {
  2.8963470633673198,  0,  0.36788431221089207
        },
       {
  0,  2.8963470633673198,  0.36788431221089207
        }

    },
    {
       {
  0.83752353395555867,  0.83752353395555867,  0.83752353395555867
        },
       {
  0.27917451131851961,  0,  0
        },
       {
  0,  0.27917451131851961,  0
        },
       {
  0,  0,  0.27917451131851961
        },
       {
  -1.11669804527408,  -1.27917451131852,  -1.27917451131852
        },
       {
  1.27917451131852,  1.27917451131852,  0
        },
       {
  -1.27917451131852,  -1.11669804527408,  -1.27917451131852
        },
       {
  -1.27917451131852,  -1.27917451131852,  -1.11669804527408
        },
       {
  1.27917451131852,  0,  1.27917451131852
        },
       {
  0,  1.27917451131852,  1.27917451131852
        }

    },
    {
       {
  -0.27917451131852,  -0.27917451131852,  -0.27917451131852
        },
       {
  -0.83752353395555901,  0,  0
        },
       {
  0,  0.27917451131851961,  0
        },
       {
  0,  0,  0.27917451131851961
        },
       {
  1.11669804527408,  -0.16247646604444099,  -0.16247646604444099
        },
       {
  1.27917451131852,  0.16247646604444091,  0
        },
       {
  -1.27917451131852,  0,  -1.27917451131852
        },
       {
  -1.27917451131852,  -1.27917451131852,  0
        },
       {
  1.27917451131852,  0,  0.16247646604444091
        },
       {
  0,  1.27917451131852,  1.27917451131852
        }

    },
    {
       {
  -0.27917451131852,  -0.27917451131852,  -0.27917451131852
        },
       {
  0.27917451131851961,  0,  0
        },
       {
  0,  -0.83752353395555901,  0
        },
       {
  0,  0,  0.27917451131851961
        },
       {
  0,  -1.27917451131852,  -1.27917451131852
        },
       {
  0.16247646604444091,  1.27917451131852,  0
        },
       {
  -0.16247646604444099,  1.11669804527408,  -0.16247646604444099
        },
       {
  -1.27917451131852,  -1.27917451131852,  0
        },
       {
  1.27917451131852,  0,  1.27917451131852
        },
       {
  0,  1.27917451131852,  0.16247646604444091
        }

    },
    {
       {
  -0.27917451131852,  -0.27917451131852,  -0.27917451131852
        },
       {
  0.27917451131851961,  0,  0
        },
       {
  0,  0.27917451131851961,  0
        },
       {
  0,  0,  -0.83752353395555901
        },
       {
  0,  -1.27917451131852,  -1.27917451131852
        },
       {
  1.27917451131852,  1.27917451131852,  0
        },
       {
  -1.27917451131852,  0,  -1.27917451131852
        },
       {
  -0.16247646604444099,  -0.16247646604444099,  1.11669804527408
        },
       {
  0.16247646604444091,  0,  1.27917451131852
        },
       {
  0,  0.16247646604444091,  1.27917451131852
        }

    },
    {
       {
  0.7745966692414834,  0.7745966692414834,  0.7745966692414834
        },
       {
  -0.77459666924148296,  0,  0
        },
       {
  0,  0.7745966692414834,  0
        },
       {
  0,  0,  0.7745966692414834
        },
       {
  0,  -0.22540333075851701,  -0.22540333075851701
        },
       {
  1.7745966692414801,  0.2254033307585166,  0
        },
       {
  -1.7745966692414801,  -1.5491933384829699,  -1.7745966692414801
        },
       {
  -1.7745966692414801,  -1.7745966692414801,  -1.5491933384829699
        },
       {
  1.7745966692414801,  0,  0.2254033307585166
        },
       {
  0,  1.7745966692414801,  1.7745966692414801
        }

    },
    {
       {
  -0.77459666924148296,  -0.77459666924148296,  -0.77459666924148296
        },
       {
  -0.77459666924148296,  0,  0
        },
       {
  0,  -0.77459666924148296,  0
        },
       {
  0,  0,  0.7745966692414834
        },
       {
  1.5491933384829699,  -0.22540333075851701,  -0.22540333075851701
        },
       {
  0.2254033307585166,  0.2254033307585166,  0
        },
       {
  -0.22540333075851701,  1.5491933384829699,  -0.22540333075851701
        },
       {
  -1.7745966692414801,  -1.7745966692414801,  0
        },
       {
  1.7745966692414801,  0,  0.2254033307585166
        },
       {
  0,  1.7745966692414801,  0.2254033307585166
        }

    },
    {
       {
  -0.77459666924148296,  -0.77459666924148296,  -0.77459666924148296
        },
       {
  0.7745966692414834,  0,  0
        },
       {
  0,  -0.77459666924148296,  0
        },
       {
  0,  0,  -0.77459666924148296
        },
       {
  0,  -1.7745966692414801,  -1.7745966692414801
        },
       {
  0.2254033307585166,  1.7745966692414801,  0
        },
       {
  -0.22540333075851701,  1.5491933384829699,  -0.22540333075851701
        },
       {
  -0.22540333075851701,  -0.22540333075851701,  1.5491933384829699
        },
       {
  0.2254033307585166,  0,  1.7745966692414801
        },
       {
  0,  0.2254033307585166,  0.2254033307585166
        }

    },
    {
       {
  0.7745966692414834,  0.7745966692414834,  0.7745966692414834
        },
       {
  0.7745966692414834,  0,  0
        },
       {
  0,  0.7745966692414834,  0
        },
       {
  0,  0,  -0.77459666924148296
        },
       {
  -1.5491933384829699,  -1.7745966692414801,  -1.7745966692414801
        },
       {
  1.7745966692414801,  1.7745966692414801,  0
        },
       {
  -1.7745966692414801,  -1.5491933384829699,  -1.7745966692414801
        },
       {
  -0.22540333075851701,  -0.22540333075851701,  0
        },
       {
  0.2254033307585166,  0,  1.7745966692414801
        },
       {
  0,  0.2254033307585166,  1.7745966692414801
        }

    },
    {
       {
  0.7745966692414834,  0.7745966692414834,  0.7745966692414834
        },
       {
  0.7745966692414834,  0,  0
        },
       {
  0,  -0.77459666924148296,  0
        },
       {
  0,  0,  0.7745966692414834
        },
       {
  -1.5491933384829699,  -1.7745966692414801,  -1.7745966692414801
        },
       {
  0.2254033307585166,  1.7745966692414801,  0
        },
       {
  -0.22540333075851701,  0,  -0.22540333075851701
        },
       {
  -1.7745966692414801,  -1.7745966692414801,  -1.5491933384829699
        },
       {
  1.7745966692414801,  0,  1.7745966692414801
        },
       {
  0,  1.7745966692414801,  0.2254033307585166
        }

    },
    {
       {
  -0.77459666924148296,  -0.77459666924148296,  -0.77459666924148296
        },
       {
  -0.77459666924148296,  0,  0
        },
       {
  0,  0.7745966692414834,  0
        },
       {
  0,  0,  -0.77459666924148296
        },
       {
  1.5491933384829699,  -0.22540333075851701,  -0.22540333075851701
        },
       {
  1.7745966692414801,  0.2254033307585166,  0
        },
       {
  -1.7745966692414801,  0,  -1.7745966692414801
        },
       {
  -0.22540333075851701,  -0.22540333075851701,  1.5491933384829699
        },
       {
  0.2254033307585166,  0,  0.2254033307585166
        },
       {
  0,  0.2254033307585166,  1.7745966692414801
        }

      }
   };
#endif
